﻿using System;
using System.Collections.Generic;
using System.Data;
using PACS.Data;
using WoSoft.PACS.Data.Models;

namespace WoSoft.PACS.Data.SysPublic
{
    /// <summary>
    /// 检查申请操作
    /// </summary>
    public class SysPublic : Db
    {
        //获取系统公共打印参数
        public DataTable Get_Xt_ggdy(string PageName)
        {
            var sql = "select PaperName,PageWidth,PageHeight,MarginTop,MarginLeft,MarginRight,MarginBottom,PagePrinter from xt_ggdy where isnull(tybz,0)=0 and PageName='" + PageName + "'";

            return this.SqlDatabase.Sql(sql, null).QuerySingle<DataTable>();
        }
    }
}
